﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_TOOL.Common.ValueObject
{
	[Serializable]
	public class Borrow
	{
		#region Members
		protected int iD;
		protected DateTime date;
		protected string toolID;
		protected string staffID;
		protected string machineID;
		protected int quantity;
		protected string note;
		#endregion

		#region Public Properties

		/// <summary>
		/// Property relating to database column ID(int,not null)
		/// </summary>
		public int ID
		{
			get
			{
				return iD;
			}
			set
			{
				iD = value;
			}
		}

		/// <summary>
		/// Property relating to database column Date(datetime,not null)
		/// </summary>
		public DateTime Date
		{
			get
			{
				return date;
			}
			set
			{
				date = value;
			}
		}

		/// <summary>
		/// Property relating to database column ToolID(nvarchar(50),not null)
		/// </summary>
		public string ToolID
		{
			get
			{
				return toolID;
			}
			set
			{
				toolID = value;
			}
		}

		/// <summary>
		/// Property relating to database column StaffID(nvarchar(50),not null)
		/// </summary>
		public string StaffID
		{
			get
			{
				return staffID;
			}
			set
			{
				staffID = value;
			}
		}

		/// <summary>
		/// Property relating to database column MachineID(nvarchar(50),not null)
		/// </summary>
		public string MachineID
		{
			get
			{
				return machineID;
			}
			set
			{
				machineID = value;
			}
		}

		/// <summary>
		/// Property relating to database column Quantity(int,not null)
		/// </summary>
		public int Quantity
		{
			get
			{
				return quantity;
			}
			set
			{
				quantity = value;
			}
		}

		/// <summary>
		/// Property relating to database column Note(nvarchar(250),null)
		/// </summary>
		public string Note
		{
			get
			{
				return note;
			}
			set
			{
				note = value;
			}
		}


		#endregion

	}
}
